package com.tinycloud.miracll.product.mapper;

import java.util.List;
import com.tinycloud.miracll.product.domain.ScadaAlarm;

/**
 * Scada报警Mapper接口
 * 
 * @author tiny
 * @date 2021-12-10
 */
public interface ScadaAlarmMapper 
{
    /**
     * 查询Scada报警
     * 
     * @param projNodeId Scada报警主键
     * @return Scada报警
     */
    public ScadaAlarm selectScadaAlarmByProjNodeId(Long projNodeId);

    /**
     * 查询Scada报警列表
     *
     * @param scadaAlarm Scada报警
     * @return Scada报警集合
     */
    public List<ScadaAlarm> selectScadaAlarmList(ScadaAlarm scadaAlarm);

    /**
     * 新增Scada报警
     *
     * @param scadaAlarm Scada报警
     * @return 结果
     */
    public int insertScadaAlarm(ScadaAlarm scadaAlarm);

    /**
     * 获取未清洗scada报警
     *
     * @param scadaAlarm Scada报警
     * @return Scada报警集合
     */
    public List<ScadaAlarm> getNoCleanScadaAlarmList();

    /**
     * 修改Scada报警
     * 
     * @param scadaAlarm Scada报警
     * @return 结果
     */
    public int updateScadaAlarm(ScadaAlarm scadaAlarm);

    /**
     * 删除Scada报警
     * 
     * @param projNodeId Scada报警主键
     * @return 结果
     */
    public int deleteScadaAlarmByProjNodeId(Long projNodeId);

    /**
     * 批量删除Scada报警
     * 
     * @param projNodeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteScadaAlarmByProjNodeIds(Long[] projNodeIds);
}
